package com.jun.admin.core.service;

import com.jun.admin.core.model.JunStudent;
import com.jun.admin.core.model.User;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @author yuejun.li
 * @date 2024/6/13 11:16:15
 */
public interface IndexService {

    boolean transactional();

    boolean strategy();

    List<JunStudent> desensitization();

    boolean thread() throws Throwable;

    Object update(String id);

    boolean lock(String id,Integer age) throws InterruptedException;

    Boolean lockBean(User user) throws InterruptedException;

    void redis();

    void completableFuture() throws ExecutionException, InterruptedException;
}
